﻿using System;
using System.Collections.ObjectModel;

namespace Game.Objects
{
    public class WeaponCollection : KeyedCollection<string, Weapon>
    {
        public WeaponCollection()
        {
        }
        
        protected override string GetKeyForItem(Weapon weapon)
        {
            return weapon.Name;
        }
    }
}
